Introduction to Geospatial Visualization with the tmap package {https://t.co/fPasXDp9jb} #rstats #DataScience
— R-bloggers (@Rbloggers) December 31, 2021
Binary image classification using Keras in R: Using CT scans to predict patients with Covid {https://t.co/PZTKZC9TSu} #rstats #DataScience
— R-bloggers (@Rbloggers) January 2, 2022
Using databases with Shiny {https://t.co/Og4tMdVVzF} #rstats #DataScience
— R-bloggers (@Rbloggers) January 2, 2022
How to install (and update!) R and RStudio {https://t.co/kTyBGRUcUi} #rstats #DataScience
— R-bloggers (@Rbloggers) January 1, 2022
Deploying flexdashboard on Github Pages {https://t.co/xodkGHzEQc} #rstats #DataScience
— R-bloggers (@Rbloggers) December 31, 2021
Chi-Square Goodness of fit formula in R {https://t.co/2I0GmgINe0} #rstats #DataScience
— R-bloggers (@Rbloggers) January 1, 2022
Comparing Decision Trees {https://t.co/E8WxPsdS4z} #rstats #DataScience
— R-bloggers (@Rbloggers) January 1, 2022
More player analysis with gganimate() {https://t.co/B1b1Av8SSU} #rstats #DataScience
— R-bloggers (@Rbloggers) December 30, 2021
Introduction to the forecastLM package {https://t.co/lSMVok3WR5} #rstats #DataScience
— R-bloggers (@Rbloggers) January 1, 2022
Examining College Football Conference Realignment with {ggraph} {https://t.co/tEgyjM8Jx1} #rstats #DataScience
— R-bloggers (@Rbloggers) December 29, 2021
Sample and Population Variance in R {https://t.co/I1MoWtsWEA} #rstats #DataScience
— R-bloggers (@Rbloggers) December 28, 2021
Uncovered Interest Rate Parity and F-test on Regression Parameters using R {https://t.co/OgyI9ipi9o} #rstats #DataScience
— R-bloggers (@Rbloggers) January 2, 2022
ANOVA in R – How To Implement One-Way ANOVA From Scratch {https://t.co/ItFWi9vMbx} #rstats #DataScience
— R-bloggers (@Rbloggers) December 21, 2021
Hundreds of Statistical/Machine Learning models for univariate time series, using ahead, {https://t.co/ofxWxG0Mvv} #rstats #DataScience
— R-bloggers (@Rbloggers) December 20, 2021
New Book on Machine Learning {https://t.co/Qn1knpQWTC} #rstats #DataScience
— R-bloggers (@Rbloggers) December 23, 2021
Introduction to Geospatial Visualization with the tmap package {https://t.co/fPasXDp9jb} #rstats #DataScience
— R-bloggers (@Rbloggers) December 31, 2021
Binary image classification using Keras in R: Using CT scans to predict patients with Covid {https://t.co/PZTKZC9TSu} #rstats #DataScience
— R-bloggers (@Rbloggers) January 2, 2022
How to Connect R to Google Sheets Using googlesheets4 {https://t.co/0DOZu3l9pc} #rstats #DataScience
— R-bloggers (@Rbloggers) December 17, 2021
Using databases with Shiny {https://t.co/Og4tMdVVzF} #rstats #DataScience
— R-bloggers (@Rbloggers) January 2, 2022
How to google R stuff {https://t.co/N5dRU6dKbs} #rstats #DataScience
— R-bloggers (@Rbloggers) December 16, 2021
How to install (and update!) R and RStudio {https://t.co/kTyBGRUcUi} #rstats #DataScience
— R-bloggers (@Rbloggers) January 1, 2022
9 new books added to Big Book of R {https://t.co/zT84wY8Cwb} #rstats #DataScience
— R-bloggers (@Rbloggers) December 6, 2021
Heterogeneous Treatment Effects with Instrumental Variables: A Causal Machine Learning {https://t.co/PMQGBi97UH} #rstats #DataScience
— R-bloggers (@Rbloggers) December 7, 2021
Introducing portfoliodown: The Data Science Portfolio Website Builder {https://t.co/Oj3x4P8Lmg} #rstats #DataScience
— R-bloggers (@Rbloggers) December 20, 2021
---
title: "RBloggers Top Tweets"
output:
flexdashboard::flex_dashboard:
vertical_layout: scroll
source_code: embed
theme:
version: 4
bootswatch: yeti
css: styles/main.css
---
```{r setup, include=FALSE}
library(flexdashboard)
library(dplyr)
library(httr)
library(lubridate)
library(jsonlite)
library(purrr)
rbloggers <- fromJSON("data/rbloggers.json")
get_tweet_embed <- function(user, status_id) {
url <-
stringr::str_glue(
"https://publish.twitter.com/oembed?url=https://twitter.com/{user}/status/{status_id}&partner=&hide_thread=false"
)
response <- GET(url) %>%
content()
return(shiny::HTML(response$html))
}
```
Column {.tabset .tabset-fade}
-----------------------------------------------------------------------
### Top Tweets - 7 days {.tweet-wall}
```{r}
rblog_7 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 7, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_7_html <-
map2_chr(rblog_7$screen_name, rblog_7$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_7_html}"))
```
### Top Tweets - 30 days {.tweet-wall}
```{r}
rblog_30 <- rbloggers %>%
mutate(created_at = as_date(created_at)) %>%
filter(created_at %within% interval(start = today() - 30, end = today())) %>%
slice_max(favorite_count + retweet_count, n = 12)
rblog_30_html <-
map2_chr(rblog_30$screen_name, rblog_30$status_id, get_tweet_embed)
shiny::HTML(stringr::str_glue("{rblog_30_html}"))
```